//
//  LBPickerViewTool.m
//  loveBeen
//
//  Created by 杨烁 on 2016/11/20.
//  Copyright © 2016年 loveBeen. All rights reserved.
//

#import "LBPickerViewTool.h"

#import "UITextField+DDPickerView.h"
@interface LBPickerViewTool ()<DDInputPickerViewDelegate>

@end

@implementation LBPickerViewTool


/**
 *  返回三个数值，分别为三行的数值，如果有只有第一行的话，two和three数值为-1以此类推,从0开始。
 */
- (void)returnSelecteOneComponent : (NSInteger)oneComponent
                     TwoComponent : (NSInteger)twoComponent
                   ThreeComponent : (NSInteger)threeComponent
{
    NSLog(@"oneComponent : %ld\ntwoComponent : %ld\nthreeComponent : %ld",oneComponent,twoComponent,threeComponent);
}
/**
 *  返回选择了的三个数据,如果只有第一行的话，two和three数值为nil，以此类推
 */
- (void)returnSelecteOneString : (NSString *)oneString
                     TwoString : (NSString *)twoString
                   ThreeString : (NSString *)threeString
{
    NSLog(@"oneString : %@\ntwoString : %@\nthreeString : %@",oneString,twoString,threeString);
//    self.textField.text = [NSString stringWithFormat:@"%@ %@ %@",oneString,twoString,threeString];
}
/**
 *  取消了选择
 */
- (void)cancelSelected
{
    NSLog(@"取消");
}



@end
